home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / redhat-RHSA-2004-421.nasl < prev    next >
Text File  |  2005-01-14  |  5KB  |  198 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. #
  5. # The text of this plugin is (C) Red Hat Inc.
  6.  
  7. if ( ! defined_func("bn_random") ) exit(0);
  8. if(description)
  9. {
  10.  script_id(14214);
  11.  script_version ("$Revision: 1.9 $");
  12.  if ( NASL_LEVEL >= 2191 ) script_cve_id("CAN-2004-0597", "CAN-2004-0599", "CAN-2004-0718", "CAN-2004-0722", "CAN-2004-0757", "CAN-2004-0758", "CAN-2004-0759", "CAN-2004-0760", "CAN-2004-0761", "CAN-2004-0762", "CAN-2004-0763", "CAN-2004-0764", "CAN-2004-0765");
  13.  
  14.  name["english"] = "RHSA-2004-421: galeon";
  15.  
  16.  script_name(english:name["english"]);
  17.  
  18.  desc["english"] = '
  19.  
  20.   Updated mozilla packages based on version 1.4.3 that fix a number of
  21.   security issues for Red Hat Enterprise Linux are now available.
  22.  
  23.   Mozilla is an open source Web browser, advanced email and newsgroup
  24.   client, IRC chat client, and HTML editor.
  25.  
  26.   A number of flaws have been found in Mozilla 1.4 that have been fixed in
  27.   the Mozilla 1.4.3 release.
  28.  
  29.  
  30.   All users are advised to update to these erratum packages which contain a
  31.   snapshot of Mozilla 1.4.3 including backported fixes and are not vulnerable
  32.   to these issues.
  33.  
  34.  
  35.  
  36.  
  37. Solution : http://rhn.redhat.com/errata/RHSA-2004-421.html
  38. Risk factor : High';
  39.  
  40.  script_description(english:desc["english"]);
  41.  
  42.  summary["english"] = "Check for the version of the galeon packages";
  43.  script_summary(english:summary["english"]);
  44.  
  45.  script_category(ACT_GATHER_INFO);
  46.  
  47.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  48.  family["english"] = "Red Hat Local Security Checks";
  49.  script_family(english:family["english"]);
  50.  
  51.  script_dependencies("ssh_get_info.nasl");
  52.  
  53.  script_require_keys("Host/RedHat/rpm-list");
  54.  exit(0);
  55. }
  56.  
  57. include("rpm.inc");
  58. if ( rpm_check( reference:"galeon-1.2.13-3.2.1", release:"RHEL2.1") )
  59. {
  60.  security_hole(0);
  61.  exit(0);
  62. }
  63. if ( rpm_check( reference:"mozilla-1.4.3-2.1.2", release:"RHEL2.1") )
  64. {
  65.  security_hole(0);
  66.  exit(0);
  67. }
  68. if ( rpm_check( reference:"mozilla-chat-1.4.3-2.1.2", release:"RHEL2.1") )
  69. {
  70.  security_hole(0);
  71.  exit(0);
  72. }
  73. if ( rpm_check( reference:"mozilla-devel-1.4.3-2.1.2", release:"RHEL2.1") )
  74. {
  75.  security_hole(0);
  76.  exit(0);
  77. }
  78. if ( rpm_check( reference:"mozilla-dom-inspector-1.4.3-2.1.2", release:"RHEL2.1") )
  79. {
  80.  security_hole(0);
  81.  exit(0);
  82. }
  83. if ( rpm_check( reference:"mozilla-js-debugger-1.4.3-2.1.2", release:"RHEL2.1") )
  84. {
  85.  security_hole(0);
  86.  exit(0);
  87. }
  88. if ( rpm_check( reference:"mozilla-mail-1.4.3-2.1.2", release:"RHEL2.1") )
  89. {
  90.  security_hole(0);
  91.  exit(0);
  92. }
  93. if ( rpm_check( reference:"mozilla-nspr-1.4.3-2.1.2", release:"RHEL2.1") )
  94. {
  95.  security_hole(0);
  96.  exit(0);
  97. }
  98. if ( rpm_check( reference:"mozilla-nspr-devel-1.4.3-2.1.2", release:"RHEL2.1") )
  99. {
  100.  security_hole(0);
  101.  exit(0);
  102. }
  103. if ( rpm_check( reference:"mozilla-nss-1.4.3-2.1.2", release:"RHEL2.1") )
  104. {
  105.  security_hole(0);
  106.  exit(0);
  107. }
  108. if ( rpm_check( reference:"mozilla-nss-devel-1.4.3-2.1.2", release:"RHEL2.1") )
  109. {
  110.  security_hole(0);
  111.  exit(0);
  112. }
  113. if ( rpm_check( reference:"mozilla-1.4.3-3.0.2", release:"RHEL3") )
  114. {
  115.  security_hole(0);
  116.  exit(0);
  117. }
  118. if ( rpm_check( reference:"mozilla-chat-1.4.3-3.0.2", release:"RHEL3") )
  119. {
  120.  security_hole(0);
  121.  exit(0);
  122. }
  123. if ( rpm_check( reference:"mozilla-devel-1.4.3-3.0.2", release:"RHEL3") )
  124. {
  125.  security_hole(0);
  126.  exit(0);
  127. }
  128. if ( rpm_check( reference:"mozilla-dom-inspector-1.4.3-3.0.2", release:"RHEL3") )
  129. {
  130.  security_hole(0);
  131.  exit(0);
  132. }
  133. if ( rpm_check( reference:"mozilla-js-debugger-1.4.3-3.0.2", release:"RHEL3") )
  134. {
  135.  security_hole(0);
  136.  exit(0);
  137. }
  138. if ( rpm_check( reference:"mozilla-mail-1.4.3-3.0.2", release:"RHEL3") )
  139. {
  140.  security_hole(0);
  141.  exit(0);
  142. }
  143. if ( rpm_check( reference:"mozilla-nspr-1.4.3-3.0.2", release:"RHEL3") )
  144. {
  145.  security_hole(0);
  146.  exit(0);
  147. }
  148. if ( rpm_check( reference:"mozilla-nspr-devel-1.4.3-3.0.2", release:"RHEL3") )
  149. {
  150.  security_hole(0);
  151.  exit(0);
  152. }
  153. if ( rpm_check( reference:"mozilla-nss-1.4.3-3.0.2", release:"RHEL3") )
  154. {
  155.  security_hole(0);
  156.  exit(0);
  157. }
  158. if ( rpm_check( reference:"mozilla-nss-devel-1.4.3-3.0.2", release:"RHEL3") )
  159. {
  160.  security_hole(0);
  161.  exit(0);
  162. }
  163.  
  164. if ( rpm_exists(rpm:"galeon-", release:"RHEL2.1") )
  165. {
  166.  set_kb_item(name:"CAN-2004-0597", value:TRUE);
  167.  set_kb_item(name:"CAN-2004-0599", value:TRUE);
  168.  set_kb_item(name:"CAN-2004-0718", value:TRUE);
  169.  set_kb_item(name:"CAN-2004-0722", value:TRUE);
  170.  set_kb_item(name:"CAN-2004-0757", value:TRUE);
  171.  set_kb_item(name:"CAN-2004-0758", value:TRUE);
  172.  set_kb_item(name:"CAN-2004-0759", value:TRUE);
  173.  set_kb_item(name:"CAN-2004-0760", value:TRUE);
  174.  set_kb_item(name:"CAN-2004-0761", value:TRUE);
  175.  set_kb_item(name:"CAN-2004-0762", value:TRUE);
  176.  set_kb_item(name:"CAN-2004-0763", value:TRUE);
  177.  set_kb_item(name:"CAN-2004-0764", value:TRUE);
  178.  set_kb_item(name:"CAN-2004-0765", value:TRUE);
  179. }
  180. if ( rpm_exists(rpm:"galeon-", release:"RHEL3") )
  181. {
  182.  set_kb_item(name:"CAN-2004-0597", value:TRUE);
  183.  set_kb_item(name:"CAN-2004-0599", value:TRUE);
  184.  set_kb_item(name:"CAN-2004-0718", value:TRUE);
  185.  set_kb_item(name:"CAN-2004-0722", value:TRUE);
  186.  set_kb_item(name:"CAN-2004-0757", value:TRUE);
  187.  set_kb_item(name:"CAN-2004-0758", value:TRUE);
  188.  set_kb_item(name:"CAN-2004-0759", value:TRUE);
  189.  set_kb_item(name:"CAN-2004-0760", value:TRUE);
  190.  set_kb_item(name:"CAN-2004-0761", value:TRUE);
  191.  set_kb_item(name:"CAN-2004-0762", value:TRUE);
  192.  set_kb_item(name:"CAN-2004-0763", value:TRUE);
  193.  set_kb_item(name:"CAN-2004-0764", value:TRUE);
  194.  set_kb_item(name:"CAN-2004-0765", value:TRUE);
  195. }
  196.  
  197. set_kb_item(name:"RHSA-2004-421", value:TRUE);
  198.